<template>
	<myView >
		<u-form-item :label="label" :prop="prop">
			<myView width="686" marginLeft="32">
				<u-input v-model="data"></u-input>
			</myView>
		
			
		</u-form-item>
	</myView>
		

</template>

<script>
	export default {
		name:"formInput",
		props: {
			value: {
				type:[String,Number],
				default:''
			},
			label: {
				type:String,
				default: ''
			},
			prop: {
				type:String,
				default: ''
			},
		},
		data() {
			return {
				data: ''
			};
		},
		watch: {
			value:{
				immediate: true,
				handler(val){
					this.data = val;
				}
				
			},
			data(val){
				this.$emit('input',val);
			}
		}
	}
</script>

<style lang="scss" scoped>

</style>